<!DOCTYPE html>
<html lang="en-US" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Runtime API Examples | 赢了</title>
    <meta name="description" content="必赢">
    <meta name="generator" content="VitePress v1.6.3">
    <link rel="preload stylesheet" href="/assets/style.DFTx90Kk.css" as="style">
    <link rel="preload stylesheet" href="/vp-icons.css" as="style">
    
    <script type="module" src="/assets/app.CjDGBHGX.js"></script>
    <link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
    <link rel="modulepreload" href="/assets/chunks/theme.BRQyzEdv.js">
    <link rel="modulepreload" href="/assets/chunks/framework.Cthp9TdA.js">
    <link rel="modulepreload" href="/assets/api-examples.md.GKBI2qff.lean.js">
    <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
    <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
  </head>
  <body>
    <div id="app"><div class="Layout" data-v-5d98c3a5><!--[--><!--]--><!--[--><span tabindex="-1" data-v-0b0ada53></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-0b0ada53>Skip to content</a><!--]--><!----><header class="VPNav" data-v-5d98c3a5 data-v-ae24b3ad><div class="VPNavBar" data-v-ae24b3ad data-v-6aa21345><div class="wrapper" data-v-6aa21345><div class="container" data-v-6aa21345><div class="title" data-v-6aa21345><div class="VPNavBarTitle" data-v-6aa21345 data-v-1168a8e4><a class="title" href="/" data-v-1168a8e4><!--[--><!--]--><!----><span data-v-1168a8e4>赢了</span><!--[--><!--]--></a></div></div><div class="content" data-v-6aa21345><div class="content-body" data-v-6aa21345><!--[--><!--]--><div class="VPNavBarSearch search" data-v-6aa21345><!----></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-6aa21345 data-v-dc692963><span id="main-nav-aria-label" class="visually-hidden" data-v-dc692963> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/13/10360" tabindex="0" data-v-dc692963 data-v-e56f3d57><!--[--><span data-v-e56f3d57>通话录音总结</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-6aa21345 data-v-6c893767><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-6c893767 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div><!----><div class="VPFlyout VPNavBarExtra extra" data-v-6aa21345 data-v-bb2aa2f0 data-v-cf11d7a2><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-cf11d7a2><span class="vpi-more-horizontal icon" data-v-cf11d7a2></span></button><div class="menu" data-v-cf11d7a2><div class="VPMenu" data-v-cf11d7a2 data-v-b98bc113><!----><!--[--><!--[--><!----><div class="group" data-v-bb2aa2f0><div class="item appearance" data-v-bb2aa2f0><p class="label" data-v-bb2aa2f0>Appearance</p><div class="appearance-action" data-v-bb2aa2f0><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-bb2aa2f0 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div></div></div><!----><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-6aa21345 data-v-e5dd9c1c><span class="container" data-v-e5dd9c1c><span class="top" data-v-e5dd9c1c></span><span class="middle" data-v-e5dd9c1c></span><span class="bottom" data-v-e5dd9c1c></span></span></button></div></div></div></div><div class="divider" data-v-6aa21345><div class="divider-line" data-v-6aa21345></div></div></div><!----></header><div class="VPLocalNav empty fixed" data-v-5d98c3a5 data-v-a6f0e41e><div class="container" data-v-a6f0e41e><!----><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-a6f0e41e data-v-8a42e2b4><button data-v-8a42e2b4>Return to top</button><!----></div></div></div><!----><div class="VPContent" id="VPContent" data-v-5d98c3a5 data-v-1428d186><div class="VPDoc has-aside" data-v-1428d186 data-v-39a288b8><!--[--><!--]--><div class="container" data-v-39a288b8><div class="aside" data-v-39a288b8><div class="aside-curtain" data-v-39a288b8></div><div class="aside-container" data-v-39a288b8><div class="aside-content" data-v-39a288b8><div class="VPDocAside" data-v-39a288b8 data-v-3f215769><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-3f215769 data-v-a5bbad30><div class="content" data-v-a5bbad30><div class="outline-marker" data-v-a5bbad30></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-a5bbad30>On this page</div><ul class="VPDocOutlineItem root" data-v-a5bbad30 data-v-b933a997><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-3f215769></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-39a288b8><div class="content-container" data-v-39a288b8><!--[--><!--]--><main class="main" data-v-39a288b8><div style="position:relative;" class="vp-doc _api-examples" data-v-39a288b8><div><h1 id="runtime-api-examples" tabindex="-1">Runtime API Examples <a class="header-anchor" href="#runtime-api-examples" aria-label="Permalink to &quot;Runtime API Examples&quot;">​</a></h1><p>This page demonstrates usage of some of the runtime APIs provided by VitePress.</p><p>The main <code>useData()</code> API can be used to access site, theme, and page data for the current page. It works in both <code>.md</code> and <code>.vue</code> files:</p><div class="language-md vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;script setup&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">import { useData } from &#39;vitepress&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">const { theme, page, frontmatter } = useData()</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;/script&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">## Results</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">### Theme Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ theme }}&lt;/pre&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">### Page Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ page }}&lt;/pre&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">### Page Frontmatter</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ frontmatter }}&lt;/pre&gt;</span></span></code></pre></div><h2 id="results" tabindex="-1">Results <a class="header-anchor" href="#results" aria-label="Permalink to &quot;Results&quot;">​</a></h2><h3 id="theme-data" tabindex="-1">Theme Data <a class="header-anchor" href="#theme-data" aria-label="Permalink to &quot;Theme Data&quot;">​</a></h3><pre>{
  &quot;nav&quot;: [
    {
      &quot;link&quot;: &quot;/13/10360&quot;,
      &quot;text&quot;: &quot;通话录音总结&quot;
    }
  ],
  &quot;sidebar&quot;: {
    &quot;/13/10360/&quot;: [
      {
        &quot;link&quot;: &quot;/13/10360/24388&quot;,
        &quot;text&quot;: &quot;省立肛肠科，尹玉锑 2024-12-11 19-06-41.m4a&quot;
      },
      {
        &quot;link&quot;: &quot;/13/10360/24391&quot;,
        &quot;text&quot;: &quot;省立肛肠科，尹玉锑 2024-12-18 11-19-09.m4a&quot;
      },
      {
        &quot;link&quot;: &quot;/13/10360/24398&quot;,
        &quot;text&quot;: &quot;省立肛肠科，尹玉锑 2024-12-19 08-26-44.m4a&quot;
      },
      {
        &quot;link&quot;: &quot;/13/10360/24392&quot;,
        &quot;text&quot;: &quot;省立肛肠科，尹玉锑 2024-12-23 10-22-44.m4a&quot;
      },
      {
        &quot;link&quot;: &quot;/13/10360/24393&quot;,
        &quot;text&quot;: &quot;省立肛肠科，尹玉锑 2025-01-28 09-13-24.m4a&quot;
      },
      {
        &quot;link&quot;: &quot;/13/10360/24394&quot;,
        &quot;text&quot;: &quot;省立肛肠科，尹玉锑 2025-03-06 11-59-04.m4a&quot;
      },
      {
        &quot;link&quot;: &quot;/13/10360/24395&quot;,
        &quot;text&quot;: &quot;省立肛肠科，尹玉锑 2025-03-24 09-08-55.m4a&quot;
      },
      {
        &quot;link&quot;: &quot;/13/10360/24396&quot;,
        &quot;text&quot;: &quot;省立肛肠科，尹玉锑 2025-04-01 19-37-05.m4a&quot;
      },
      {
        &quot;link&quot;: &quot;/13/10360/24390&quot;,
        &quot;text&quot;: &quot;省立肛肠科，尹玉锑 2025-04-03 16-45-40.m4a&quot;
      },
      {
        &quot;link&quot;: &quot;/13/10360/24389&quot;,
        &quot;text&quot;: &quot;省立医院牛忠宝15910106926 2025-04-01 12-57-16.m4a&quot;
      }
    ]
  },
  &quot;socialLinks&quot;: false
}</pre><h3 id="page-data" tabindex="-1">Page Data <a class="header-anchor" href="#page-data" aria-label="Permalink to &quot;Page Data&quot;">​</a></h3><pre>{
  &quot;title&quot;: &quot;Runtime API Examples&quot;,
  &quot;description&quot;: &quot;&quot;,
  &quot;frontmatter&quot;: {
    &quot;outline&quot;: &quot;deep&quot;
  },
  &quot;headers&quot;: [],
  &quot;relativePath&quot;: &quot;api-examples.md&quot;,
  &quot;filePath&quot;: &quot;api-examples.md&quot;
}</pre><h3 id="page-frontmatter" tabindex="-1">Page Frontmatter <a class="header-anchor" href="#page-frontmatter" aria-label="Permalink to &quot;Page Frontmatter&quot;">​</a></h3><pre>{
  &quot;outline&quot;: &quot;deep&quot;
}</pre><h2 id="more" tabindex="-1">More <a class="header-anchor" href="#more" aria-label="Permalink to &quot;More&quot;">​</a></h2><p>Check out the documentation for the <a href="https://vitepress.dev/reference/runtime-api#usedata" target="_blank" rel="noreferrer">full list of runtime APIs</a>.</p></div></div></main><footer class="VPDocFooter" data-v-39a288b8 data-v-e257564d><!--[--><!--]--><!----><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
    <script>window.__VP_HASH_MAP__=JSON.parse("{\"13_10360_24388.md\":\"BopfzBxo\",\"13_10360_24389.md\":\"C7MpBBR2\",\"13_10360_24390.md\":\"CEPpAn4e\",\"13_10360_24391.md\":\"BVallBv8\",\"13_10360_24392.md\":\"rL2zX1BJ\",\"13_10360_24393.md\":\"B1JTJ6o0\",\"13_10360_24394.md\":\"CSCmhhRP\",\"13_10360_24395.md\":\"DWg3B-QN\",\"13_10360_24396.md\":\"Bj0Wyn6Y\",\"13_10360_24398.md\":\"Chkz-rDE\",\"13_10360_index.md\":\"Ba8e-K9h\",\"13_index.md\":\"C1BLqN-P\",\"api-examples.md\":\"GKBI2qff\",\"index.md\":\"DhXWaFPf\",\"markdown-examples.md\":\"D6pRx2MY\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"赢了\",\"description\":\"必赢\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"link\":\"/13/10360\",\"text\":\"通话录音总结\"}],\"sidebar\":{\"/13/10360/\":[{\"link\":\"/13/10360/24388\",\"text\":\"省立肛肠科，尹玉锑 2024-12-11 19-06-41.m4a\"},{\"link\":\"/13/10360/24391\",\"text\":\"省立肛肠科，尹玉锑 2024-12-18 11-19-09.m4a\"},{\"link\":\"/13/10360/24398\",\"text\":\"省立肛肠科，尹玉锑 2024-12-19 08-26-44.m4a\"},{\"link\":\"/13/10360/24392\",\"text\":\"省立肛肠科，尹玉锑 2024-12-23 10-22-44.m4a\"},{\"link\":\"/13/10360/24393\",\"text\":\"省立肛肠科，尹玉锑 2025-01-28 09-13-24.m4a\"},{\"link\":\"/13/10360/24394\",\"text\":\"省立肛肠科，尹玉锑 2025-03-06 11-59-04.m4a\"},{\"link\":\"/13/10360/24395\",\"text\":\"省立肛肠科，尹玉锑 2025-03-24 09-08-55.m4a\"},{\"link\":\"/13/10360/24396\",\"text\":\"省立肛肠科，尹玉锑 2025-04-01 19-37-05.m4a\"},{\"link\":\"/13/10360/24390\",\"text\":\"省立肛肠科，尹玉锑 2025-04-03 16-45-40.m4a\"},{\"link\":\"/13/10360/24389\",\"text\":\"省立医院牛忠宝15910106926 2025-04-01 12-57-16.m4a\"}]},\"socialLinks\":false},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}");</script>
    
  </body>
</html>